package com.sxy.demo.sxy;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 描述：运费模板-配送区域
 * 数据库表名：rms_scm_freight_template_sell_area
 * @author zhangxinlu
 * @date 2022-8-25 19:26:37
 */
@Data
@Accessors(chain = true)
@TableName("rms_scm_freight_template_sell_area")
public class RmsScmFreightTemplateSellArea extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

    /**
     * 字段：rms_scm_freight_template_sell_area.freight_template_id
     * 描述：运费模板id
     */
    private Long freightTemplateId;

    /**
     * 字段：rms_scm_freight_template_sell_area.default_area
     * 描述：是否默认运费:0;默认 1 选择的区域
     */
    private Long defaultArea;

    /**
     * 字段：rms_scm_freight_template_sell_area.sell_area_code
     * 描述：配送区域code（不是默认运费的时候;必填）
     */
    private String areaCode;

    /**
     * 字段：rms_scm_freight_template_sell_area.postage_num
     * 描述：件数
     */
    private Integer postageNum;

    /**
     * 字段：rms_scm_freight_template_sell_area.postage_price
     * 描述：邮费/元
     */
    private BigDecimal postagePrice;

    /**
     * 字段：rms_scm_freight_template_sell_area.add_postage_num
     * 描述：增加几件/件数
     */
    private Integer addPostageNum;

    /**
     * 字段：rms_scm_freight_template_sell_area.add_postage_price
     * 描述：增加邮费/元
     */
    private BigDecimal addPostagePrice;

    /**
     * 字段：rms_scm_freight_template_sell_area.description
     * 描述：备注
     */
    private String description;

    /**
     * 字段：rms_scm_freight_template_sell_area.state
     * 描述：状态:0;无效;1:有效;
     */
    private Long state;

    private Long userId;

    public static final String Id = "id";
    public static final String Freight_template_id = "freight_template_id";
    public static final String Default_area = "default_area";
    public static final String Sell_area_code = "sell_area_code";
    public static final String Postage_num = "postage_num";
    public static final String Postage_price = "postage_price";
    public static final String Add_postage_num = "add_postage_num";
    public static final String Add_postage_price = "add_postage_price";
    public static final String Description = "description";
    public static final String State = "state";
    public static final String Create_time = "create_time";
    public static final String Create_user = "create_user";
    public static final String Update_time = "update_time";
    public static final String Update_user = "update_user";
    public static final String Deleted = "deleted";
}